 

import { useI18n } from 'vue-i18n'
import type { IJsonItem } from '../types'

export function useDescription(): IJsonItem {
  const { t } = useI18n()
  return {
    type: 'input',
    field: 'description',
    name: t('project.node.description'),
    props: {
      placeholder: t('project.node.description_tips'),
      rows: 2,
      type: 'textarea'
    }
  }
}
